package com.chen.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chen.common.Result;
import com.chen.mapper.SignMapper;
import com.chen.pojo.Sign;
import com.chen.pojo.User;
import com.chen.service.SignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import javax.annotation.Resource;

/**
 * @author chen
 * @date 2022/4/22 17:39
 * 签到
 */
@Service("SignServiceImpl")
public class SignServiceImpl extends ServiceImpl<SignMapper, Sign> implements SignService {

    @Resource
    private SignMapper signMapper;

    @Override
    public Sign selectById(int id) {
       return signMapper.selectById(id);
    }

    @Override
    public Sign selectIsSigned(String username) {
        return signMapper.selectIsSigned(username);
    }






}
